

class T():
    _xx='_xx'
    def __getattr__(self,name):
        if name in ['t','x']:
            print('txtx')
            return self._xx + name
        print('ttt')
self=T()
print(self._xx)
print(self.t,self.x)
G_RAM_START           =0xD9000000
G_RAM_SIZE            =(80 * 1024)
G_BL1_RAM_START       =    (G_RAM_START + 0xC000)
G_BL1_RAM_SIZE        =    (32 * 1024)
G_BL1_RAM_END         =(G_BL1_RAM_START + G_BL1_RAM_SIZE)
G_BSS_START           =(G_BL1_RAM_START + (2 * 1024))
G_BSS_SIZE            =(18 * 1024)
G__STACK_END          =(G_BSS_START + G_BSS_SIZE + 8*1024)
G_BL1_EFUSE_MIRROR    =    (G_BL1_RAM_END - 1024)
G_P_SHARED_EFUSE_MIRROR=       (G_BL1_EFUSE_MIRROR)
G_BL1_DEBUG_BUFFER    =    (G_BL1_RAM_END - 512)
G_CPU_BOOT_ENTRY      =(G_BL1_DEBUG_BUFFER + 256)
G_P_SHARED_DEBUG_BUFF =    (G_BL1_DEBUG_BUFFER)
G_BL1_SEC_MBX         =(G_BL1_RAM_END - 2*1024)
G_BL1_NAND_BUFF       =    (G_BL1_RAM_START + 1024)
G_BL1_USB_BUFF        =    (G_BL1_NAND_BUFF)
x=globals().copy()
for i in x:
    if i.startswith("G_"):
        print(i,hex(x[i]))
